import Vue from 'vue'
import App from './App'

// 时间格式过滤器
import './common/filter.js';//过滤器配置
// <div class="time">{{item.createtime |timeFilter(第二个参数,第三个参数)}} 至 {{item.endtime |timeFilter}}</div>

//引入uView
import uView from "uview-ui";
Vue.use(uView);

// 全局组件
import orderItem from	'./components/order-item.vue'
Vue.component('orderItem',orderItem)
import orderDetail from	'./components/order-detail.vue'
Vue.component('orderDetail',orderDetail)
import empty from	'./components/empty.vue'
Vue.component('empty',empty)
import pay from	'./components/pay.vue'
Vue.component('pay',pay)
import sfItem from	'./components/sf-item.vue'
Vue.component('sfItem',sfItem)
import hyItem from	'./components/huoyun/hy-item.vue'
Vue.component('hyItem',hyItem)

//引入vuex
import {store} from './store/index'
// Vue.prototype.$store=store

// 全局引入http
import {http} from './common/http.js'
Vue.prototype.$http=http

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App,
		store,
})
app.$mount()
